package com.lizx.framework.web.smart.demo3;

import com.lizx.framework.web.smart.framework.core.annotations.SmartController;
import com.lizx.framework.web.smart.framework.core.annotations.SmartInject;
import com.lizx.framework.web.smart.framework.core.annotations.SmartRequest;
import com.lizx.framework.web.smart.framework.core.wrapper.ViewWrapper;

import java.util.HashMap;

/**
 * @Author: 李宁 William-Li
 * @Description:
 * @Date: Create in 2019/1/18 5:45 PM
 */

@SmartController
public class ControllerTest {

    @SmartRequest("/hello3")
    public ViewWrapper get(){
        HashMap<String, Object> map = new HashMap<>();
        map.put("hello", "world");
        return new ViewWrapper("hello.jsp",map);
    }
}
